package com.bocloud.cmp.driver.providers.intf;

import com.bocloud.cmp.model.ClusterOperateModel;
import com.bocloud.common.model.BsmResult;

/**
 * 集群操作服务接口
 * 
 * @author weiwei
 *
 */
public interface ClusterProvider {

	/**
	 * 创建集群
	 * 
	 * @param vendor
	 * @param model
	 * @return
	 */
	public BsmResult create(String vendor, ClusterOperateModel model);

	/**
	 * 删除集群
	 * 
	 * @param vendor
	 * @param model
	 * @return
	 */
	public BsmResult remove(String vendor, ClusterOperateModel model);

}
